using System;
using System.Collections.Generic;

namespace ConsoleApplication1.Models
{
    public class SalesOrder
    {
        public SalesOrder()
        {
            this.SalesLines = new List<SalesLine>();
        }

        public System.Guid ID { get; set; }
        public int Status { get; set; }
        public System.DateTime DateCreated { get; set; }
        public Nullable<System.DateTime> DateDispatched { get; set; }
        public Nullable<System.DateTime> DateDelivered { get; set; }
        public Nullable<System.Guid> Customer_ID { get; set; }
        public virtual Customer Customer { get; set; }
        public virtual ICollection<SalesLine> SalesLines { get; set; }
    }
}
